﻿using System;
using Microsoft.Practices.CompositeWeb;
using Microsoft.Practices.ObjectBuilder;

namespace CSC440TeamOne.Admin.Views
{
    public class SendMessagePresenter : Presenter<ISendMessageView>
    {
        private IAdminController cont;
        

        public SendMessagePresenter([CreateNew] IAdminController cont)
        {
            this.cont = cont;
        }

        public override void OnViewLoaded()
        {
            // TODO: Implement code that will be executed every time the view loads
        }

        public override void OnViewInitialized()
        {
            View.show(cont.getSendMessageModel());
        }
    }
}




